package com.css.msgcenter.client.demo;

import com.css.msgcenter.Address;
import com.css.msgcenter.Message;
import com.css.msgcenter.client.MessageClient;

public class MkData {

	
	public static void main(String[] args) {
		mkData();
		
	}
	
	private static void mkData() {
		Message message = new Message();
		message.setTitle("Lily's message");
		message.setMessagebody("message content@@http://www.css.com.cn");
		message.setSender( "sendueerid" );
		message.setSenderAppCode("cssoa");
		
		Address addr = new Address();	
		addr.setUesrname("lixiao");
		addr.setEmail( "lixiao1989@yeah.net" );
//		addr.setPhone("13412345678");
		addr.setPhone("8a8d81495142bae7015142c1a666000a");
		addr.setLetter("8a8d81495142bae7015142c1a666000a");
		addr.setIm("8a8d81495142bae7015142c1a666000a");
//		message.pushAddress( addr );
		message.pushAddress( addr );
		System.out.println(1);
		
		
//		MessageClient.pushMessage(message);
		MessageClient.push(message);
		System.out.println("abc");
	}

		
}
